package com.hxqh.bo.bean;

import java.util.Date;

/**
 * FpsOnRtnTrade entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class FpsOnRtnTrade implements java.io.Serializable {

	// Fields

	private Long tradeId;
	private Long orderRef;
	private Long orderLocalId;
	private Integer userId;
	private Integer policyId;
	private String futuresCode;
	private Integer sell;
	private Integer direction;
	private Double tradePrice;
	private Integer tradeNum;
	private Date tradeDate;

	// Constructors

	/** default constructor */
	public FpsOnRtnTrade() {
	}

	/** minimal constructor */
	public FpsOnRtnTrade(Long tradeId, Long orderRef, Long orderLocalId,
			Integer userId, Integer policyId, String futuresCode, Integer sell,
			Integer direction, Double tradePrice, Integer tradeNum) {
		this.tradeId = tradeId;
		this.orderRef = orderRef;
		this.orderLocalId = orderLocalId;
		this.userId = userId;
		this.policyId = policyId;
		this.futuresCode = futuresCode;
		this.sell = sell;
		this.direction = direction;
		this.tradePrice = tradePrice;
		this.tradeNum = tradeNum;
	}

	/** full constructor */
	public FpsOnRtnTrade(Long tradeId, Long orderRef, Long orderLocalId,
			Integer userId, Integer policyId, String futuresCode, Integer sell,
			Integer direction, Double tradePrice, Integer tradeNum,
			Date tradeDate) {
		this.tradeId = tradeId;
		this.orderRef = orderRef;
		this.orderLocalId = orderLocalId;
		this.userId = userId;
		this.policyId = policyId;
		this.futuresCode = futuresCode;
		this.sell = sell;
		this.direction = direction;
		this.tradePrice = tradePrice;
		this.tradeNum = tradeNum;
		this.tradeDate = tradeDate;
	}

	// Property accessors

	public Long getTradeId() {
		return this.tradeId;
	}

	public void setTradeId(Long tradeId) {
		this.tradeId = tradeId;
	}

	public Long getOrderRef() {
		return this.orderRef;
	}

	public void setOrderRef(Long orderRef) {
		this.orderRef = orderRef;
	}

	public Long getOrderLocalId() {
		return this.orderLocalId;
	}

	public void setOrderLocalId(Long orderLocalId) {
		this.orderLocalId = orderLocalId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getPolicyId() {
		return this.policyId;
	}

	public void setPolicyId(Integer policyId) {
		this.policyId = policyId;
	}

	public String getFuturesCode() {
		return this.futuresCode;
	}

	public void setFuturesCode(String futuresCode) {
		this.futuresCode = futuresCode;
	}

	public Integer getSell() {
		return this.sell;
	}

	public void setSell(Integer sell) {
		this.sell = sell;
	}

	public Integer getDirection() {
		return this.direction;
	}

	public void setDirection(Integer direction) {
		this.direction = direction;
	}

	public Double getTradePrice() {
		return this.tradePrice;
	}

	public void setTradePrice(Double tradePrice) {
		this.tradePrice = tradePrice;
	}

	public Integer getTradeNum() {
		return this.tradeNum;
	}

	public void setTradeNum(Integer tradeNum) {
		this.tradeNum = tradeNum;
	}

	public Date getTradeDate() {
		return this.tradeDate;
	}

	public void setTradeDate(Date tradeDate) {
		this.tradeDate = tradeDate;
	}

}